package cn.vshare.entity;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

/**
 * (Permission)实体类
 *
 * @author makejava
 * @since 2018-09-14 11:58:14
 */
public class PermissionFirst implements Serializable {
    //private static final long serialVersionUID = -23635176750762041L;

    private String id;

    private String name;

    private int isForbidden;


    private Set<PermissionSecond>permissionSecondSet=new HashSet<>();

    public PermissionFirst() {
    }


    public PermissionFirst(String id, String name) {
        this.id = id;
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getIsForbidden() {
        return isForbidden;
    }

    public void setIsForbidden(int isForbidden) {
        this.isForbidden = isForbidden;
    }

    public Set<PermissionSecond> getPermissionSecondSet() {
        return permissionSecondSet;
    }

    public void setPermissionSecondSet(Set<PermissionSecond> permissionSecondSet) {
        this.permissionSecondSet = permissionSecondSet;
    }
}